<table width="100%" cellspacing="0" cellpadding="0" border="0" style="font-size:14px;font-family:arial">
<tbody>
<tr>
    <td width="100%" align="center" style="background:#e3f5ff">
        <table width="705" cellspacing="0" cellpadding="0" border="0">
            <tbody>
            <tr>
                <td width="100%" align="right">
                    <table cellspacing="0" cellpadding="0" border="0" style="margin:20px 3px 0;font-size:13px">
                        <tbody>
                        <tr>
                            <td><a target="_blank" style="text-decoration:none;color:#004b91" href="{$webRoot}">{$webDomain}</a></td>
                            <td style="padding:0 10px 5px;color:#ccc">|</td>
                            <td><a target="_blank" style="text-decoration:none;color:#004b91" href="{$webRoot}trang-lien-he.html">Liên hệ</a></td>
                        </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="border:2px solid #d3e8f3;border-top:none;border-left:none">
                    <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background:#fff;border:1px solid #b1d9ee">
                        <tbody>
                        <tr>
                            <td width="100%" style="padding:25px 20px 0;text-align:justify">
                                <p align="center" style="padding:0;margin:0">
                                    <a target="_blank" style="text-decoration:none" href="{$webRoot}">
                                        <img width="123" height="44" border="0" alt="logo image" src="http://oka.todo.vn/style/images/frontend/v2-logo.png">
                                    </a>
                                </p>
                                <p style="padding:25px 0 20px;margin:0;font-size:15px">Xin chào<b> {$cartContact.name},</b></p>



                                <p style="margin:0;padding:10px 0 15px">

                                    Quý khách nhận được email này do đơn hàng của Quý khách thanh toán  lúc <b> {$time} </b>đã thành công.	</p>
                                <p style="margin:0;padding:0;font-size:16px">
                                    <b>THÔNG TIN ĐƠN HÀNG</b>
                                </p>
                                <table cellspacing="1" cellpadding="0" border="0" style="margin-top:10px">
                                    <tbody>
                                    <tr>
                                        <td style="padding:4px 0;width:160px">Mã đơn hàng:</td>
                                        <td style="padding:4px 30px 4px 8px"><a target="_blank" style="color:#cb0000;text-decoration:none" href="{$webRoot}mybooked.html">#{$cart.code}</a></td>
                                    </tr>
                                    <tr>
                                        <td style="padding:4px 0px">Hình thức thanh toán:</td>
                                        <td style="padding:4px 30px 4px 8px"><b>{$payment_info}</b></td>
                                    </tr>
                                    <tr>
                                        <td style="padding:4px 0px">Check-in:</td>
                                        <td style="padding:4px 30px 4px 8px"><b>{$date_start}</b></td>
                                    </tr>
                                    <tr>
                                        <td style="padding:4px 0px">Check-out:</td>
                                        <td style="padding:4px 30px 4px 8px"><b>{$date_end}</b></td>
                                    </tr>
                                    </tbody>
                                </table>
                                <table width="100%" cellspacing="0" cellpadding="0" border="0" style="border:1px solid #c8ebfe;font-size:12px">
                                    <thead>
                                    <tr style="text-align:center;background:#c8ebfe">
                                        <th style="width:44px;padding:5px 0;border:1px solid #c8ebfe;border-width:0 0 1px 1px">STT</th>
                                        <th align="left" style="width:300px;padding:5px 10px 5px 10px;border:1px solid #c8ebfe;border-width:0 0 1px 1px">Deal</th>
                                        <th align="left" style="width:300px;padding:5px 10px 5px 10px;border:1px solid #c8ebfe;border-width:0 0 1px 1px">Khách sạn</th>
                                        <th align="left" style="width:108px;padding:5px 10px 5px 10px;border:1px solid #c8ebfe;border-width:0 0 1px 1px">Giá</th>
                                        <th align="left" style="width:100px;padding:5px 10px 5px 10px;border:1px solid #c8ebfe;border-width:0 0 1px 1px">Số lượng</th>
                                        <th align="left" style="width:124px;padding:5px 10px 5px 10px;border:1px solid #c8ebfe;border-width:0 0 1px 1px">Thành tiền</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {section name=item start=0 loop=$booking step=1}
                                        <tr>
                                            <td valign="top" align="center" style="padding:10px;border-bottom:1px solid #c8ebfe;border-width:0 0 1px 1px;font-family:Tahoma"> {$smarty.section.item.index+1}</td>
                                            <td valign="top" style="padding:10px;border:1px solid #c8ebfe;border-width:0 0 1px 1px">
                                                {$booking[item].deal_name}
                                            </td>
                                            <td valign="top" style="padding:10px;border:1px solid #c8ebfe;border-width:0 0 1px 1px">
                                                {$booking[item].hotel_name}
                                            </td>
                                            <td valign="top" align="right" style="padding:10px;border:1px solid #c8ebfe;border-width:0 0 1px 1px;font-family:Tahoma">{$booking[item].price|number_format:0:".":"."}đ</td>
                                            <td valign="top" align="right" style="padding:10px;border:1px solid #c8ebfe;border-width:0 0 1px 1px;font-family:Tahoma">{$booking[item].quantity}</td>

                                            <td valign="top" align="right" style="padding:10px;border:1px solid #c8ebfe;border-width:0 0 1px 1px;font-family:Tahoma">{$booking[item].quantity*$booking[item].price|number_format:0:".":"."}đ</td>
                                        </tr>

                                    {/section}

                                    <tr>
                                        <td align="right" style="padding:10px;color:#c92525" colspan="6">
                                            <b><span style="padding-right:35px">Tổng tiền </span>{$cart.price|number_format:0:".":"."}đ</b>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                                <p style="padding:0;margin:20px 0 0;font-size:16px"><b>THÔNG TIN KHÁCH HÀNG</b></p>
                                <table cellspacing="1" cellpadding="0" border="0" style="margin-top:10px">
                                    <tbody>
                                    <tr>
                                        <td style="padding:4px 0;width:160px">Họ Tên:</td>
                                        <td style="padding:4px 30px 4px 8px"><b>{$cartContact.name}</b></td>
                                    </tr>
                                    <tr>
                                        <td style="padding:4px 0px">Điện thoại:</td>
                                        <td style="padding:4px 30px 4px 8px"><b>{$cartContact.phone}</b></td>
                                    </tr>
                                    <tr>
                                        <td style="padding:4px 0px">CMND/Hộ chiếu:</td>
                                        <td style="padding:4px 30px 4px 8px"><b>{$cartContact.cmnd}</b></td>
                                    </tr>
                                    </tbody>
                                </table>

                                <p style="margin:0;padding:25px 0 5px 0;line-height:25px">Cảm ơn Quý khách đã sử dụng dịch vụ của chúng tôi,<br><b style="">BQT {$webDomain}</b></p>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" style="padding:30px 0 0">
                                <p align="left" style="color:#808080;font-size:13px;padding:0 20px 10px;margin:0">(<span style="color:red">*</span>) Đây là email hệ thống gửi tự động, vui lòng không trả lời (reply) lại email này.</p>
                                <table cellspacing="0" cellpadding="0" border="0">
                                    <tbody>
                                    <tr>
                                        <td><div style="min-height:8px;width:60px;background:#c8ebfe"></div></td>
                                        <td><div style="min-height:8px;width:72px;background:#b4d3e4"></div></td>
                                        <td><div style="min-height:8px;width:86px;background:#96c8eb"></div></td>
                                        <td><div style="min-height:8px;width:18px;background:#87b4d3"></div></td>
                                        <td><div style="min-height:8px;width:43px;background:#02a1dc"></div></td>
                                        <td><div style="min-height:8px;width:48px;background:#9ccfb0"></div></td>
                                        <td><div style="min-height:8px;width:141px;background:#bad6c5"></div></td>
                                        <td><div style="min-height:8px;width:42px;background:#e6e5c7"></div></td>
                                        <td><div style="min-height:8px;width:38px;background:#e6b592"></div></td>
                                        <td><div style="min-height:8px;width:38px;background:#e67776"></div></td>
                                        <td><div style="min-height:8px;width:111px;background:#e31b65"></div></td>
                                    </tr>

                                    </tbody>
                                </table>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </td>
            </tr>

            <tr>
                <td align="center" style="font-family:Tahoma;font-size:11px;color:#7eabc3">
                    <p style="padding:0;margin:25px 0;width:400px;min-height:0px;border:1px dotted #b1d9ee;border-left:none;border-right:none;border-bottom-color:#fff"></p>
                    <p style="margin:0;padding:0 0 40px">
                        Copyright &copy; 2010. All rights reserved. Công ty cổ phần truyền thông Việt Nam &ndash; VC Corp<br>
                        Địa chỉ: Tầng 22-23, Vincom Tower B, 191 Bà Triệu, Hà Nội.<br>
                        Điện thoại: (04) 39749091 / Fax: (04) 39743413
                    </p>
                </td>
            </tr>
            </tbody>
        </table>
    </td>
</tr>
</tbody>
</table>